home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3746 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.2 KB

  1. Path: hpscit.sc.hp.com!anderson
  2. From: anderson@ppg01.sc.hp.com (Allen Anderson)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ compilers for Unix
  5. Date: 25 Jan 1996 22:07:52 GMT
  6. Organization: Hewlett Packard
  7. Message-ID: <4e8uvo$mrq@hpscit.sc.hp.com>
  8. References: <4dgh98$8pk@bcarh8ab.bnr.ca> <4dlqv4$7a_003@news.indirect.com> <fg20ott3v3.fsf@pccom1-156.csci.csc.com>
  9. NNTP-Posting-Host: ppg01.sc.hp.com
  10. X-Newsreader: TIN [version 1.2 PL2.2]
  11.  
  12. Simon Pamment (spamment@pccom1-156.csci.csc.com) wrote:
  13.  
  14. : In article <4dlqv4$7a_003@news.indirect.com> chrism@xroads.com (Chris McCabe) writes:
  15.  
  16. : > In article <4dgh98$8pk@bcarh8ab.bnr.ca>, Stephen Hui <stu2r41@bnr.ca> wrote:
  17. : > >I am looking for C++ compilers to run under HP-UX especially compilers that
  18. : > >generate compact code.  Any information is appreciated. thanks
  19. : > >
  20. : > 
  21. : >   I strongly recommend using the GNU C++ compiler.  It generates good,
  22. : > efficient code, and you will be able to compile on other UNIX platforms
  23. : > with little or no changes to the code.  I have had far fewer problems
  24. : > with GNU than with HP's compiler.
  25. : >   One note - if you are building shared libraries, check to see if the
  26. : > compiler you choose supports it.  I'm not sure if GNU does or not.
  27. : > 
  28. : >   -Chris
  29. : > 
  30.  
  31. :    I'll second that motion as we too have had numerous problems with
  32. :    HP's compiler. The last project I worked on was developed using
  33. :    GNU's C++ compiler. We have since attempted to compile the existing
  34. :    code with HP's compiler but without success. We enlisted HP's help
  35. :    but in the end it was to no avail. Some things would simply not
  36. :    compile while others required us to violate the standard to get
  37. :    them to compile (which does nothing for portability).
  38.  
  39. Yep...I use G++ whenever I have to use one of our HP-UX machines.  I'm more of a
  40. Linux fan, anyway...It works well, and is a bit better maintained than HP's.
  41.  
  42. Also, the current version for linux (2.7.3, I believe) definately does support shared
  43. libs.  I believe the the HP-UX build does, as well.
  44.  
  45.  
  46. --
  47. Allan Anderson -- anderson@ppg01.sc.hp.com
  48. ------------------------------------------
  49. "Hug me till you drug me, honey;
  50.     Kiss me till I'm in a coma:
  51.  Hug me, honey, snuggly bunny;
  52.     Love's as good as *soma*."
  53. -- _Brave New World_, by Aldous Huxley
  54.